<div class="panel" title="<%= @panel_title || "Spendy! New Category" %>" selected="true">

  <% flash.each do |key,value| %>
  <h2 class="flash_<%= key %>">
    <span class="message"><%= value %></span>
  </h2>
  <% end -%>

  <p><%= error_messages_for :category %></p>

  <h2>Please fill in the field below</h2>

  <%= render :partial => 'form', :locals => {:category => @category} %>

</div>
